package com.cskaoyan.shopping.converter;

import com.cskaoyan.shopping.dal.entitys.Panel;
import com.cskaoyan.shopping.dal.entitys.PanelContent;
import com.cskaoyan.shopping.dal.entitys.PanelContentItem;
import com.cskaoyan.shopping.dto.PanelContentDto;
import com.cskaoyan.shopping.dto.PanelContentItemDto;
import com.cskaoyan.shopping.dto.PanelDto;

import java.util.List;

/**
 * @author lizhenhao
 * @ClassName PanelConverter.java
 * @Description TODO
 * @createTime 2022年06月17日 16:34:00
 */
public interface PanelConverter {

    PanelDto panel2Dto(Panel panel);

    List<PanelDto> panels2Dto(List<Panel> panels);

    PanelContentItemDto panelContentItem2Dto(PanelContentItem panelContentItem);

    List<PanelContentItemDto> panelContentItems2Dto(List<PanelContentItem> panelContentItems);

    PanelContentDto panelContent2Dto(PanelContent panelContent);

    List<PanelContentDto> panelContents2Dto(List<PanelContent> panelContents);
}
